DX12: Align copies b/w textures and buffers when D3D12_FEATURE_DATA_D3D12_OPTIONS13.UnrestrictedBufferTextureCopyPitchSupported is false#7721
Conversation
612dc54 to
60d2d96
Compare
This comment was marked as resolved.
This comment was marked as resolved.
60d2d96 to
505438d
Compare
This comment was marked as resolved.
This comment was marked as resolved.
505438d to
734e1a3
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Got the CI issue resolved! I was definitely doing something wrong. 👉🏻👈🏻 From community chat:
|
335c9ab to
fd850ff
Compare
fd850ff to
5fa4092
Compare
5fa4092 to
698316c
Compare
698316c to
275ec2f
Compare
|
Doing some branch pushes to check that |
|
Alright, so:
I'll figure out the exact set of CTS tests to use tomorrow. If nothing else, I can use a (verbosely requested) subset of |
67c8472 to
78798fe
Compare
a78375d to
3f65b82
Compare
|
I added baseline expectations (plus failures) for |
| webgpu:api,operation,command_buffer,image_copy:undefined_params:initMethod="WriteTexture";checkMethod="FullCopyT2B";dimension="2d" | ||
| webgpu:api,operation,command_buffer,image_copy:undefined_params:initMethod="WriteTexture";checkMethod="FullCopyT2B";dimension="3d" | ||
| webgpu:api,operation,command_buffer,image_copy:undefined_params:initMethod="WriteTexture";checkMethod="PartialCopyT2B";dimension="1d" | ||
| fails-if(dx12) webgpu:api,operation,command_buffer,image_copy:undefined_params:initMethod="WriteTexture";checkMethod="PartialCopyT2B";dimension="2d" |
There was a problem hiding this comment.
It's odd that webgpu:api,operation,command_buffer,image_copy:undefined_params:initMethod="WriteTexture";checkMethod="PartialCopyT2B";dimension="2d" still fails after this PR's fix. I suspect there's more work to do here to make this correct.
There was a problem hiding this comment.
Ah, it seems the full path that's failing is a single subtest exercising a 3rd dimension for the "2d" case: copySize=[3,3,2];origin=["_undef_","_undef_","_undef_"];bytesPerRow=256;rowsPerImage=3
Definitely follow-up work for something more edge-casey. Whew!
…restrictedBufferTextureCopyPitchSupported`
3f65b82 to
20d31b6
Compare
| #### DX12 | ||
|
|
||
| - Align copies b/w textures and buffers via a single intermediate buffer per copy when `D3D12_FEATURE_DATA_D3D12_OPTIONS13.UnrestrictedBufferTextureCopyPitchSupported` is `false`. By @ErichDonGubler in [#7721](https://github.com/gfx-rs/wgpu/pull/7721). | ||
|
|
There was a problem hiding this comment.
onuts, I almost forgot to move this out of the previous release section.
@cwfitzgerald: I'm strongly considering experimenting with adding some CI that fails a PR that adds things to the CHANGELOG outside of the Unreleased section, unless opted out by a label. Thoughts?
There was a problem hiding this comment.
I guess we don't have to make it a required check, either. It can simply be a signal that something might be wrong, at first.
|
Oh, is a backport of this to the 25/26/27 series, and corresponding patch releases feasible? 👀 It certainly would be appreciated IMHO! |
|
@torokati44: Two things:
|
|
Connections
rows_per_imagefor 3D texture writes #4150.Testing
Squash or Rebase?
rebase plz
Checklist
CHANGELOG.mdentry.